﻿using System;

namespace HCMS.Dtos.Manage
{
    /// <summary>
    /// 管理员 操作日志列表 Dto
    /// </summary>
    public class AdminActionLogsListDto
    {
        /// <summary>
        /// 日志 Id
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 创建 时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 管理员 Id
        /// </summary>
        public int AdminId { get; set; }

        /// <summary>
        /// 管理员 姓名
        /// </summary>
        public string AdminName { get; set; } = "";

        /// <summary>
        /// 控制器 名称
        /// </summary>
        public string ControllerName { get; set; } = "";

        /// <summary>
        /// 方法 名称
        /// </summary>
        public string ActionName { get; set; } = "";

        /// <summary>
        /// 消耗 时间
        /// </summary>
        public string ExecutionTime { get; set; } = "";

        /// <summary>
        /// 访问 链接
        /// </summary>
        public string Url { get; set; } = "";

        /// <summary>
        /// 来源 IP
        /// </summary>
        public string Ip { get; set; } = "";
    }
}
